home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 005 / chiwrite.arc / TUTORIAL.CHI < prev    next >
Encoding:
Text File  |  1985-06-30  |  9.4 KB  |  201 lines

  1. \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\4CHIWRITER\.TUTORIAL\,
  2. \+
  3. \+
  4. 1. Cursor Movement\,
  5. \1The Cursor keys [Left], [Right], [Up] and [Down]\. in\. the\. numeric 
  6. keypad\. move\. the\. cursor\. one\. unit\. in\. the\. desired\. direction. 
  7. [Ctrl-Left], [Ctrl-Right] move one word to\. the\. left\. and\. right. 
  8. [Home] and [End] move to the beginning and end of a line.\. \3Try\. it 
  9. out now!\,
  10.      \1[PgUp] and [PgDn] scroll one screen up and down,\. [Ctrl-Home] 
  11. and [Crtl-End] move to the beginning and end of the document.\. \3Try 
  12. them now and remember to hit \1[Ctrl-Home] \3to return here!\,
  13.      Use \1[PgDn] \3in the following to page through this tutorial!\,
  14. \+
  15. \+
  16. \42. Inserting Text\,
  17. \1To insert text, move the cursor anywhere on the screen\. and\. start 
  18. typing. Use the [Backspace] key to delete the character before the 
  19. cursor, the [Del] key to delete the character\. under\. the\. cursor. 
  20. [Ins] toggles between \2"\1Insert mode\3" \1and \2"\1Overwrite\. mode\3"\1.\. (Check 
  21. the \4INS: \1indicator in the status line for the current mode.)\. \3Move 
  22. the cursor to the \4* \3on the next line and type your name!\,
  23. \.\.\.\.\.\4*\,
  24. \+
  25. \+
  26. 3. Font Change\,
  27. \1Currently, 5 fonts are available to you:\,
  28.  F1: Roman  F2: Symbol (\2& C L K\1)  F3: \3Italic  \1F4: \4Bold  \1F5: Demo\,
  29. To change the font, hit the desired function key on\. the\. left\. of 
  30. the keyboard \3twice\1. Note that the \4FONT: \1indicator\. in\. the\. status 
  31. line changes. If you hit the function key only \3once\1, only the next 
  32. character is taken from the new font and the editor reverts to the 
  33. old font. To see\. a\. font,\. type\. its\. function\. key\. and\. [Alt-H] 
  34. (\2"\1Help\3"\1). \3Move the cursor to the next \4*\3, and try out the different 
  35. fonts! Shift back to font 1 when you are done!\,
  36. \.\.\.\.\.\4*\,
  37. \+
  38. \+
  39. 4. The Anatomy of a Line\,
  40. \1Each document consists of a sequence of lines. Each line ends in a 
  41. marker which is displayed at the rightmost column of\. the\. screen. 
  42. There are two types of markers:\,
  43.                                                      A soft return marker \2__K
  44.                                                      \1A hard return marker \2__K\,
  45. \1Successive lines are separated by a short line segment in the last 
  46. column and successive pages are separated by a long  dotted  line, 
  47. like this: \2o\!\,\/
  48. \-
  49. \-           M
  50. \+                                       \1superscripts
  51. \+                                    of
  52. \+                             levels
  53. \+                     several
  54.      A line can have \,
  55. \-                                                    and
  56. \-                                                        subscripts.
  57. \+
  58. \+
  59. \45. Super- and Subscripts\"\,
  60. \3Move the cursor to the next \4* \3and type \1H [Down] 2 [Up] O\3!\,
  61. \-
  62. \-
  63.      \4*\,
  64. \1Subscripts and superscripts can\. be\. inserted\. in\. any\. line.\. The 
  65. return marker at the end of every line is at the \2"\1base\. level\3"\. \1of 
  66. the line. If you move the cursor away from the base level,\. super- 
  67. and subscripts can be\. inserted.\. If\. the\. cursor\. happens\. to\. be 
  68. between two lines, a new level is inserted. \3Move the\. cursor\. back 
  69. to the \1H O \3you just typed and insert past it \1boils at 100[Up][F2]d 
  70. \-        2
  71. [Down]C\3!\,
  72. \+
  73. \+
  74. \46. Adding and Zapping Levels\,
  75. \1If you type a formula or a table, you will need several levels\. of 
  76. superscripts and subscripts. [Ctrl-A] adds\. one\. level\. below\. the 
  77. cursor, and [Ctrl-Z] zaps (i.e. deletes) the level containing\. the 
  78. cursor. However, you cannot zap if the cursor is in the base level 
  79. or between two lines. When writing a formula, it is\. usually\. best 
  80. to first add an ample number of levels and later\. zap\. the\. unused 
  81. ones. \4Note: \1When editing a table or formula, turn insert mode \4off! 
  82. \3Move the cursor to the next \4*\3, turn insert mode off, add about\. 10 
  83. \+                                         \5%______^
  84. \+                                           2
  85. \+                                   \1-b \5+ $ \1b -4ac
  86. \+
  87. \3levels and copy this formula: \1x =\. \2______________\3.\. When\. you\. are 
  88. \-
  89. \-                                        \12a
  90. \3done, turn insert mode back on! You will find the \2_ \3in font 2\. and 
  91. the special characters in font 5. (This exercise is trickier\. than 
  92. you might expect.\. Formula\. editing\. requires\. some\. practice\. and 
  93. patience.)\,
  94. \.\.\.\.\.\4*\,
  95. \+
  96. \+
  97. 7. Word Wrap and Formatting\,
  98. \1If you type text, don't use the [Return] key to end a\. line.\. When 
  99. you go past\. the\. right\. margin,\. the\. last\. word\. will\. be\. moved 
  100. automatically on a new line. The old line is terminated by a\. soft 
  101. return. If justification mode is on (\4JUST:1 \1in the\. status\. line), 
  102. the old line is automatically right\. justified.\. Use\. [Ctrl-J]\. to 
  103. toggle justification mode. At the\. end\. of\. every\. paragraph,\. you 
  104. should use the [Return] key to insert a hard return.\,
  105.    To format a paragraph, move the cursor into its first line. and 
  106. hit [Ctrl-F]. If justification mode is on, the editor\. produces\. a \/
  107. flush right margin by inserting soft spaces (the ones\. that\. don't 
  108. look like small dots),\. otherwise\. a\. ragged\. right\. margin.\.  The 
  109. formatting stops at the next hard return. \3Move the cursor\. to\. the 
  110. next \4* \3and follow the instructions above it!\,
  111. \-
  112. \-
  113. \-
  114. \-
  115. \-
  116. Write a sentence that is longer than one line to see the word wrap. Then move 
  117. the cursor to the 
  118. first line of this paragraph and hit \1[Ctrl-F]\3! 
  119. \4*\,
  120. \+
  121. \+
  122. 8. Changing the margins\,
  123. \1[Ctrl-L], [Ctrl-R] change the left and right margin resp.\. to\. the 
  124. cursor column. The line segment underlining the status line\. shows 
  125. the margins: Outside the margins, the line is dotted. The\. maximum 
  126. right margin is 78. \3Try out \1[Ctrl-L]\. \3and\. \1[Ctrl-R]\3!\. Observe\. the 
  127. effect on the status line! Be sure to reset the left margin\. to\. 1 
  128. and the right margin to 66 when you are done.\,
  129. \+
  130. \+
  131. \49. Pagination\,
  132. \1The computer automatically computes page breaks. However,\. if\. you 
  133. want to force a page break (e.g. at the end\. of\. a\. chapter),\. hit 
  134. [Ctrl-P]. Hitting [Ctrl-P] again removes the page break. \3Move\. the 
  135. cursor to the next \4* \3and\. hit\. \1[Ctrl-P].\. \3Hit\. \1[Ctrl-P]\. \3again\. to 
  136. remove the page break!\,
  137. \.\.\.\.\.\4*\,
  138. \+
  139. \+
  140. 10. Splitting and Merging Lines\,
  141. \1To split a line in two, move the cursor at\. the\. desired\. location 
  142. and enter a hard return\. with\. the\. [Return]\. key.\. To\. merge\. two 
  143. successive lines, move the cursor to\. the\. last\. column\. (use\. the 
  144. [End] key!), and delete the marker using the [Del] key.\. \3Move\. the 
  145. cursor to the next \4* \3and\. hit\. \1[Return].\. \3Then\. delete\. the\. newly 
  146. created hard return!\,
  147. \-
  148. \-
  149.      Split this line \4* \3and merge it back together!\,
  150. \+
  151. \+
  152. \411. Cut and Paste\,
  153. \1To delete a block of text, move the cursor to\. the\. beginning\. and 
  154. mark it by hitting [Alt-M]. Then move the cursor to the end of the 
  155. text and hit [Alt-C] (\2"\1Cut\3"\1). The highlighted area is cut out\. and 
  156. placed into a buffer. To insert the buffer contents anywhere\. into 
  157. the text, move the cursor to the insert location and\. hit\. [Alt-P] 
  158. (\2"\1Paste\3"\1). If you want to copy a block\. into\. the\. buffer\. without 
  159. deleting it, mark the beginning and hit [Alt-D] (\2"\1Duplicate\3"\1). \3Cut \/
  160. out the first part of the sentence below and paste it\. behind\. the 
  161. second part!\,
  162. \-
  163. \-
  164.      \4* \1Mark here and cut until here \4* \1and paste here: \,
  165. \+
  166. \+
  167. \+
  168. \412. The FULL Indicator\,
  169. \1The file you are editing is stored in\. the\. computer\. memory.\. You 
  170. should save it occasionally, especially if you have problems\. with 
  171. the electrical power. Also, since the memory size is limited,\. you 
  172. should take care that your file fits inside. If\. you\. run\. out\. of 
  173. memory, the editor will\. try\. to\. save\. your\. text\. (in\. the\. file 
  174. OVERFLOW.CHI) and\. terminate\. execution.\. You\. should\. avoid\. that 
  175. unfriendly event by looking at the \4FULL \1indicator periodically. If 
  176. it is in the 90% range, save your file! \3Check the\. \4FULL\. \3indicator 
  177. now!\,
  178. \+
  179. \+
  180. \+
  181. \413. Key Sequences\,
  182. \-
  183. \1Sequences of keystrokes can be stored, given a name\. and\. replayed 
  184. later by CHIWRITER.\. To\. replay\. a\. key\. sequence,\. hit\. [Ctrl-K], 
  185. enter the name of the\. sequence\. and\. hit\. [Return].\. Here\. is\. an 
  186. example: We programmed a key sequence that\. deletes\. the\. sentence 
  187. containing the cursor, and named it DLS. \3Move the\. cursor\. to\. the 
  188. next \4* \3and enter \1[Ctrl-K]DLS[Return]\3! The sentence containing\. the 
  189. cursor will be deleted\1.\,
  190.      Here\. is\. a\. demonstration\. of\. the\. \2"\1Delete\. Sentence\3"\.\. \1key 
  191. sequence. This sentence will be automatically deleted \4*\. \1when\. the 
  192. key sequence is executed.\,
  193. \+
  194. \+
  195. \+
  196. \414. How To Get Out\,
  197. \1To end the edit session and save your file, hit [Alt-Q]\. (\2"\1Quit\3"\1). 
  198. Your file will be saved and the input file will\. be\. renamed\. with 
  199. the extension .BAK. If you do not want to save your file\. (because 
  200. you only wanted to read\. it\. or\. messed\. it\. up\. too\. much\. during 
  201. editing), hit [Esc]. That gets you into the editor's command menu. 
  202. Hit Q and answer Y when asked whether you do NOT want to save your 
  203. changes. \3Since you do not want to save the changes you\. just\. made 
  204. to this tutorial, hit \1[Esc] Q Y \3to quit.\,
  205.